<template>
  <f7-page>
    <qm-currentcy-navbar :showback="false" :title="title"></qm-currentcy-navbar>

    <f7-block>
      <qm-blankPage :src="require('/static/img/blankpage/no-access.png')" blanktitle="您暂无权限访问该系统，请联系管理员">
        <template v-slot:button>
          <qm-button type="primary" size="mini" title="关 闭" @click="onClose"></qm-button>
        </template>
      </qm-blankPage>
    </f7-block>
  </f7-page>
</template>

<script>
import Config from "@/libs/config";
export default {
  data() {
    return {
      title: Config.info.name,
    };
  },
  methods: {
    onClose() {
      window.qmsdk.close();
    },
  },
};
</script>

<style lang="less" scoped>
::v-deep.navbar {
  height: calc(88px * var(--ratio));
  .navbar-inner {
    justify-content: space-between;
    background-color: var(--color-fill-grey-inverse);
    .left {
      padding-left: calc(34px * var(--ratio));
      .link {
        padding: 0;
        width: auto;
        color: var(--color-ironblack);
      }
    }
    .title {
      color: var(--color-ironblack);
      font-size: var(--font-size-maintitle);
    }
    .right {
      padding-right: calc(38px * var(--ratio));
      .link {
        padding: 0;
        width: auto;
        color: var(--color-ironblack);
      }
    }
  }
}
.md .navbar a.link:before {
  content: none;
}
</style>
